package com.authine.cloudpivot.ext.domain.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @program: gm-market
 * @description:
 * @author: wlw
 * @create: 2021-08-16 20:08
 **/
@Data
@Schema(description = "CreateOrderDto")
public class CreateOrderDto {
    @Schema(description = "支付方式  Credit-》信用支付")
    private String payment_method;
    @Schema(description = "客户订单号")
    private String erp_po;
    @Schema(description = "收货人")
    private String receiver;
    @Schema(description = "电话")
    private String phone;
    @Schema(description = "邮编")
    private String postal;
    @Schema(description = "详细地址")
    private String address;
    @Schema(description = "运费")
    private BigDecimal freight;
    @Schema(description = "税前商品合计")
    private BigDecimal pretax_total;
    @Schema(description = "税后商品合计")
    private BigDecimal total;
    @Schema(description = "税后商品运费共计")
    private BigDecimal amount;
    @Schema(description = "vmi消耗单ids")
    private String vmi_ids;
    @Schema(description = "下单人用户ID")
    private String place_order_user_id;
    @Schema(description = "下单人名称")
    private String place_order_fullname;
    @Schema(description = "客户组织id")
    private String organization_id;
    @Schema(description = "客户组织名称")
    private String organization_name;
    @Schema(description = "外部来源客户id")
    private String client_id;
    @Schema(description = "外部来源用户id")
    private String client_user_id;
    @Schema(description = "外部来源订单id")
    private String client_order_id;
    @Schema(description = "是否已启用（true=启用、false=未启用）")
    private Integer enabled;
    @Schema(description = "是售后状态（未售后、售后中、已售后）")
    private String after_sale;
    @Schema(description = "订单类型（平台订单、外部订单、商城订单、代购订单、VMI订单）")
    private String type;
    @Schema(description = "是未税运费")
    private BigDecimal pretax_freight;
    @Schema(description = "税前商品运费共计")
    private BigDecimal pretax_amount;
    @Schema(description = "税额")
    private BigDecimal tax_payable;
    @Schema(description = "审批任务状态")
    private BigDecimal task_ver;
    @Schema(description = "可接受最迟交货日")
    private Date accept_delivery_time;
    @Schema(description = "版本号")
    private BigDecimal version;
    @Schema(description = "老状态")
    private BigDecimal old_status;
    @Schema(description = "订单类型")
    private String source;
    @Schema(description = "客户订单状态")
    private String order_customer_status;
    @Schema(description = "审批人")
    private String approval_by;
    @Schema(description = "审批意见")
    private String approval_opinion;
    @Schema(description = "外部来源客户(第三方下单人)")
    private String client_user;
    @Schema(description = "实际下单人")
    private String actual_order;
    @Schema(description = "运费税额")
    private BigDecimal tax_payable_freight;
    @Schema(description = "扩展")
    private String extends_attr;
    @Schema(description = "购物车id集合")
    private List<Integer> cartIds;

}
